<?php
session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
include_once("../../helpers/CHtml.php");
include_once("../models/fetchers.php");

$GHtml      = new CGHtml;
$CLFetchers = new CLFetchers;

$srcDbMdlType = "MST_MODEL_TYPE";

$Db = new oracleDb;
$Db->init($_SESSION["ORCL"],
          $_SESSION["OPASS"],
          $_SESSION["SID"],
          _NO_COMMENT);

if($Db->connect()){

  $CLFetchers->fetchModelType($Db,
                              $srcDbMdlType,
                              $lstMdlType);

  $GHtml->initDropDownContent($lstMdlType,
                              "",
                              $retContent);

  echo  "\"".$retContent ."\"";

  $Db->dc();
}else{

  echo _CONN_ERROR;
}

?>